package com.huabo.monitor.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 * 
 * </p>
 *
 * @author yhr
 * @since 2022-08-26
 */
@TableName("TBL_ASSESS_MARK")
@ApiModel(value = "TblAssessMark对象", description = "")
@KeySequence(value="HIBERNATE_SEQUENCE",dbType = DbType.ORACLE)
public class TblAssessMark implements Serializable {

    public static String START = "2";
    public static String UNSTART = "1";
    public static String SUM ="4";

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    //TBL_ASSESS_STAFF 外键 一对多
    @TableId(type= IdType.INPUT)
    private BigDecimal assmarkid;

    private BigDecimal score;

    private String memo;
    @ApiModelProperty("适用性(1适用 0不适用)")
    private String suitable;

    //TBL_ASSESSELEMENT 外键
    private BigDecimal asseleid;

    //TBL_STAFF 外键
    private BigDecimal staffid;

    private String state = "1";
      //TBL_ASSESS 外键
    private Integer assid;

    //TBL_ORGANIZATION 外键
    private BigDecimal assorgid;

    //TBL_ASSESS_TARGET 外键
    private BigDecimal assesstargetid;

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }
    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
    public String getSuitable() {
        return suitable;
    }

    public void setSuitable(String suitable) {
        this.suitable = suitable;
    }
    public BigDecimal getAsseleid() {
        return asseleid;
    }

    public void setAsseleid(BigDecimal asseleid) {
        this.asseleid = asseleid;
    }
    public BigDecimal getAssmarkid() {
        return assmarkid;
    }

    public void setAssmarkid(BigDecimal assmarkid) {
        this.assmarkid = assmarkid;
    }
    public BigDecimal getStaffid() {
        return staffid;
    }

    public void setStaffid(BigDecimal staffid) {
        this.staffid = staffid;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public Integer getAssid() {
        return assid;
    }

    public void setAssid(Integer assid) {
        this.assid = assid;
    }
    public BigDecimal getAssorgid() {
        return assorgid;
    }

    public void setAssorgid(BigDecimal assorgid) {
        this.assorgid = assorgid;
    }
    public BigDecimal getAssesstargetid() {
        return assesstargetid;
    }

    public void setAssesstargetid(BigDecimal assesstargetid) {
        this.assesstargetid = assesstargetid;
    }

    @Override
    public String toString() {
        return "TblAssessMark{" +
            "score=" + score +
            ", memo=" + memo +
            ", suitable=" + suitable +
            ", asseleid=" + asseleid +
            ", assmarkid=" + assmarkid +
            ", staffid=" + staffid +
            ", state=" + state +
            ", assid=" + assid +
            ", assorgid=" + assorgid +
            ", assesstargetid=" + assesstargetid +
        "}";
    }
}
